import request from '@/utils/request'

// 查询列表信息
export function getStarTalkList(query) {
  return request({
    url: '/yijing/famous/list',
    method: 'get',
    params: query
  })
}

// 新增
export function addStarTalk(data) {
  return request({
    url: '/yijing/famous',
    method: 'post',
    data: data
  })
}

// 修改
export function updateStarTalk(data) {
  return request({
    url: '/yijing/famous',
    method: 'put',
    data: data
  })
}
